#ifndef BOARD_H
#define BOARD_H

#include <QObject>
#include <QVector>
#include <QPair>
#include<QRandomGenerator>

class Board : public QObject
{
    Q_OBJECT
public:
    explicit Board(QObject *parent = nullptr);
    QPair<int,int> getPosition(int n);
    bool isMine(int x,int y);
private:
    QVector<QPair<int,int>> m_hideBoard;
    bool minePos[10][10];
signals:

};

#endif // BOARD_H
